package com.tiankong.product.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * spu信息介绍
 * </p>
 *
 * @author scl
 * @since 2021-03-22
 */
@Data
@Accessors(chain = true)
@TableName("t_spu_info_desc")
public class SpuInfoDesc {


    /**
     * 商品id
     */
    @TableId(type = IdType.INPUT)
    private Long spuId;

    /**
     * 商品介绍
     */
    @TableField(typeHandler = JacksonTypeHandler.class)
    private Object decript;

    /**
     * 图片集
     */
    @TableField(typeHandler = JacksonTypeHandler.class)
    private Object images;


}
